package com.me.forum.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.me.forum.domain.Remark;
import com.me.forum.request.RemarkRequest;
import org.springframework.data.domain.Page;

public interface IRemarkService extends IBaseService<Remark> {
	/**
	*@description:添加评论服务接口
	*@author:LWP
	*@createTime:2020-04-26 19:46
	*/
	boolean addRemark(RemarkRequest rreq);

	//获取所有评论 by Orange
	IPage<Remark> getAll(RemarkRequest rreq, String page, String size);

	boolean updateById(RemarkRequest rreq);

	IPage<Remark> getRemarks(RemarkRequest rreq,String page,String size);

}
